﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ScanConfirm.Model
{
    public class ConfigModel
    {
        /// <summary>
        /// 队列是否转换(0否，1是)
        /// </summary>
        public int IsQueueChange { get; set; }
        /// <summary>
        /// 清空延时时间
        /// </summary>
        public int ClearDelayTime { get; set; }
        /// <summary>
        /// 扫码枪COM口
        /// </summary>
        public string ScanCom { get; set; }

        /// <summary>
        /// rfidCOM口
        /// </summary>
        public string RfidCom { get; set; }

        /// <summary>
        /// IO卡COM口
        /// </summary>
        public string IoCarCom { get; set; }
        /// <summary>
        /// PokayokaCOM口
        /// </summary>
        public string PokayokaCom { get; set; }
        /// <summary>
        /// PDA服务IP
        /// </summary>
        public string PdaServerIP { get; set; }
        /// <summary>
        /// PDA服务端口
        /// </summary>
        public int PdaServerPort { get; set; }
        /// <summary>
        /// 端末IP
        /// </summary>
        public string TriaIp { get; set; }
        /// <summary>
        /// 端末端口
        /// </summary>
        public int TriaPort { get; set; }
        /// <summary>
        /// 端末名称长度(逻辑名)
        /// </summary>
        public int LogicLength { get; set; }
        /// <summary>
        /// 显示队列长度
        /// </summary>
        public int QueueLength { get; set; }
        /// <summary>
        /// 记号 标志位于程序号第几位(从0开始 0-n，第一位为0)
        /// </summary>
        public int MarkPosition { get; set; }
        /// <summary>
        /// 品番 标志位于程序号第几位(从0开始 0-n，第一位为0)
        /// </summary>
        public int PartsCodePosition { get; set; }
        /// <summary>
        /// 过点名称位置(在报文中的起始位置)
        /// </summary>
        public int PointPosition { get; set; }
        /// <summary>
        /// 过点名称长度(在报文中的长度)
        /// </summary>
        public int PointLength { get; set; }
        /// <summary>
        /// 过点时间位置(在报文中的起始位置)
        /// </summary>
        public int TimePosition { get; set; }
        /// <summary>
        /// 过点时间长度(在报文中的长度)
        /// </summary>
        public int TimeLength { get; set; }
        /// <summary>
        /// VIN码位置(在报文中的起始位置)
        /// </summary>
        public int VinNoPosition { get; set; }
        /// <summary>
        /// VIN码长度(在报文中的长度)
        /// </summary>
        public int VinNoLength { get; set; }
        /// <summary>
        /// 连番位置(在报文中的起始位置)
        /// </summary>
        public int SequencePosition { get; set; }
        /// <summary>
        /// 连番长度(在报文中的长度)
        /// </summary>
        public int SequenceLength { get; set; }
        /// <summary>
        /// 车身码位置(在报文中的起始位置)
        /// </summary>
        public int CarBodyNoPosition { get; set; }
        /// <summary>
        /// 车身码长度(在报文中的长度)
        /// </summary>
        public int CarBodyNoLength { get; set; }
        /// <summary>
        /// 车型码位置(在报文中的起始位置)
        /// </summary>
        public int CarModelCodePosition { get; set; }
        /// <summary>
        /// 车型码长度(在报文中的长度)
        /// </summary>
        public int CarModelCodeLength { get; set; }
        /// <summary>
        /// IO卡配置集合
        /// </summary>
        //public List<IoCarConfigModel> IoCarConfigList { get; set; }
    }
}
